package com.lvkerry.blog.controller.admin

import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping


@Controller
@RequestMapping("/admin")
class LoginController {

    @GetMapping("/login")
    fun login(): String {
        return "admin/login"
    }

    @GetMapping("/test")
    fun test(): String {
        return "admin/test"
    }

}